﻿using System;
using Magicodes.ExporterAndImporter.Core;

namespace NP.BPMReportPlatform.StandardApprovalFlow.Dto
{
    /// <summary>
    /// 导出有运单的通用审批
    /// </summary>
    public class ExportStandardApprovalOutput
    {

        /// <summary>
        /// 流程实例编号
        /// </summary>
        [ExporterHeader(DisplayName = "单据号")]
        public string InstanceNumber { get; set; }


        /// <summary>
        /// 运单号
        /// </summary>
        [ExporterHeader(DisplayName = "运单号")]
        public string TransportNumber { get; set; }

        /// <summary>
        /// 标题
        /// </summary>
        [ExporterHeader(DisplayName = "标题")]
        public string Title { get; set; }

        /// <summary>
        /// 申请日期
        /// </summary>
        [ExporterHeader(DisplayName = "申请日期")]
        public DateTime AddTime { get; set; }

        /// <summary>
        /// 单据状态
        /// </summary>        
        [ExporterHeader(DisplayName = "单据状态")]
        public string OrderStatus { get; set; }

        /// <summary>
        /// 申请人
        /// </summary>
        [ExporterHeader(DisplayName = "申请人")]
        public string AddUserName { get; set; }

        /// <summary>
        /// 流程类型
        /// </summary>
        [ExporterHeader(DisplayName = "流程类型")]
        [IEIgnore(IsExportIgnore = true)]
        public string FlowType { get; set; }

        /// <summary>
        /// 单据详情链接
        /// </summary>
        [IEIgnore(IsExportIgnore = true)]
        public string Url { get; set; }


    }
}
